<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>9.关于对象中key-value的简写形式</title>
  </head>
  <body>
    <script type="text/javascript" >

      let a = 100

      let obj1 = {a:a} //该行的简写为 ：  let obj = {a} 

      let obj2 = {a:'a'} //该行没有任何简写形式

    </script>
  </body>
</html>